package com.hnchances.grade.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hnchances.grade.dao.MenuDao;
import com.hnchances.grade.entity.MenuEntity;
import com.hnchances.grade.service.MenuService;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Service("menuService")
public class MenuServiceImpl extends ServiceImpl<MenuDao, MenuEntity> implements MenuService {

    public List<MenuEntity> selectPermsById(Integer id){
        MenuEntity menuEntity = new MenuEntity();
        menuEntity.setPerms("sys:user:save");
        List<MenuEntity> menuEntities = new ArrayList<>();
        menuEntities.add(menuEntity);
        return menuEntities;
    }

}
